import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Purchase } from './Purchase.entity';
import { Repository } from 'typeorm';

@Injectable()
export class PurchaseService {
    constructor(
        @InjectRepository(Purchase)
        public readonly purchase: Repository<Purchase>
    ) { }
}
